import 'package:flutter/material.dart';
import 'package:three/comphonents/Order_list_case.dart';
import 'package:three/comphonents/custom_scroll_view_case.dart';
import 'package:three/comphonents/grid_view_builder_case.dart';
import 'package:three/comphonents/grid_view_count_case.dart';
import 'package:three/comphonents/grid_view_extent_case.dart';
import 'package:three/comphonents/list_case.dart';
import 'package:three/comphonents/scroll_case.dart';
import 'package:three/https/dio_case.dart';
import 'package:three/https/statefull_case.dart';


class MyApp extends StatelessWidget {
  const MyApp({super.key});
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('第一个组件'),
          backgroundColor: Colors.black,
          centerTitle: true,
          leading: const Icon(Icons.menu),
          actions: const [
            Icon(Icons.search),
          ],
          foregroundColor: Colors.white,
        ),
     //   body:  const OrderListCase() ,
     // body: const GridViewBuilderCase(),
    // body: const GridViewCountCase(),
     // body: const CustomScrollViewCase(),
     // body: const DioCase(),
      body: const StatefullCase(title: 'Hello',),
      ),
    );
  }
}